Change index.js to app.js as it is not the index controller, modify routes to use router from express 4