moved config to app.js