modified the model of course information for better usage
merged conflict and followed pep8