Integrated mongoose into app.js