Added a framework for handling different sensors and motors.
Added parsing code for JSON to set motor and sensor parameters.