Added TUI classes
Implemented TUI
Added some comments for controller
Added test for the TUI