initalize app.js with mongoose module