Some Mongo stuff added to app.js

Still need to figure out how to relate it to the Jade templates.