move hardware components to libhardware
move motor config into a config struct.