added Controller class