Create Sensor class