Cleaner organization based on separation of concerns.
Tweaked UART initialization as temporary fix for strange change in hardware clock rate.
Reorganized based on separation between full, debug, and test.