The purpose is to make a statistics page so that you can get information about games played. For example: "what are the factions played, by rating bracket", or "what is the win rate by faction for 1800-2000 rating". For this a server side component needs to be developed to compute this from the DB, and a client side component to display the statistics.
For both server side component and the client side component it would be helpful to have access to the code that is currently powering the ladder map stats page as well as the DB schema, so that I can build from there. Where can I find that? Also it would be helpful to be able to test this locally. How can I do this?