ControlPanel class created.