Refactoring view of courses