building up base ncurses structure