Cleaned sensor_module.py