#7 change SensorController class to Virtual Class