created a base class for the sensor classes and renamed the sensor handling class Sensor to SensorHandler