Added connection to mongo.
moved server start code after connection to mongo.
renamed app.js to server.js
changed start script.
simplified require path.
require missing modules.