Create Sensor.java