adding controller class

need to be added to the master