Splitting big sensor class into units.  Added GravitySensor.