refactoring: Controllers as service