Added class to control a stepper motor