Added index and app.js(controller)