Made a controller class from the manager to make unit testing it easier