Added SPA scaffolding in app.js