Generic class for all sensors

Generic class for all sensors. Any other class should derive from this.