add SensorBase class as base class for sensors