Added wrapper for curses moved all menu stuff to menu