Move controller.js to root