MainLoop: added all main loop functions
Scheduler: accelerometer on helmet app compiles