Added simple motor class that imitates LED class