Hooked up Mongo Database to application.  Added test database setup file.
Refactored codebase to tidy up controller parameters.