Make controller as a service