add controller class