move LightSensor to package environment