setting up app.js to work with mongo