Move the Callbacks

Move the Sensor Timeout call back from the main.c to the peripherals.c
for they are not likely to change