some ncurses experimenting and basic server