adding the controller class.