Added functional Stepper Motor abstraction