Add motor enum

Fixes issue #26