Modified bower json to specify the correct main server entry point.
Added support for logging and body parsing.
Enabled connection with mongo db.
Moved the setup and configuration code into separate modules.