Merging motorControl into stepperControl