Class files and curses program