Create AverageSensor.java