Implemented basic Sensor abstract class