Update and rename sensor to sensor.py