Improved Sensor class:
Keyed callbacks
Use either listeners or instantaneous reading
Better example at examples/sensor/sensor.rb