Adding the controller class.