added Sensor.cs Class