cleanup code
add pir sensor, sensor events
initial upload