Reworks the ncurses wrapper stuff and adds a makefile (the makefile dependencies need to be tuned to cut down build times)