merge with switch add
update switch handling to handle switch states

Signed-off-by: Joshua Frkuska <j.frkuska@gmail.com>
update base motor class (merge)
update sensor class