moved app.js into app/ directory