MAJOR RECONSTRUCTION
first attempt to reconstruct the firmware for robustness and reusability. much work to be done to make the firmware function properly.

F