removed ncurses support from library
moved curses to its own folder
Added a debug module