changing coursecolors to category colors. fixing merging bugs. added some docstrings. splitted and changed loggers. drop/restore for courses changed to activate/deactivate