set curseshosts as tui module

Signed-off-by: huhamhire <me@huhamhire.com>
reorganize classes in tui module

Signed-off-by: huhamhire <me@huhamhire.com>
reorganize method to create instant msgbox for tui module

Signed-off-by: huhamhire <me@huhamhire.com>
adjust methods between curses modules
adjust external methods between curses modules