Started work on ui
ncurses running in separate thread.