main app changed to app.js