fixes a small bug - we need more tests ;)
some refactorings in the course class
Merge pull request #5 from dirkschumacher/master

Minor refactorings