Added the controllers mapping functionality to app.js