Add express as dependency
Add api app
Split declarations from dependencies
Include express middleware
Load mongoose models
Load configuration
Remove superflous line
Properly include bodyParser/methodOverride
Add regions & suburbs routes
Convert config loader to use __dirname
Extract key/type name map generation to own function
Depend on express 4.2.0
Unify regions/suburbs routes for now
Add statistics routes (incomplete)
Force latest version of mongoose
Fix variable declaration
Add moment.js as a dependency
Provide statistics endpoint
Prune and massage statistic data as it leaves mongo
Convert queries to lean, mapped (and pruned) for regions endpoints