uart driver added; debuging code added; uart workflow..
Shift registers reset macros added; some codestyle improvements