Implemented connection to MongoDB and other stuff

Implemented connection to MongoDB and sucessfully deployed to nodejitsu.