refactoring: remove CourseData reference
spring: fix several configuration problemes