added course adding and searching (not fully functional yet)