Cleanup

Folded all code into one file. Reworked light flasher but is still untested. Removed all debug code.