Deleted mongoose.js, modified config.js and server.js