defining configuration in app.js