Added first version of sensor.h to define a sensor.