Class to control