Restructured run/main files to put the curses wrapper in the 'wrapper' directory.