Make controller a module