Refactoring: moved all controllers in one file controller.js