move app and update app.js ref in index