First commit; includes some base CRT support using ncurses