update docstring for __version__
fix bug in terminal after quit from curses
merge make hosts base module from gui and tui into util