move db config to app.js