Basis for the Controller class