Main part of the TUI development