- added includes, macros and helper function
- included sytem.h in main file
- added uart basic functionality