Start and end date must be set on modules instead of courses.
Move dates between course and module models.
Move form fields for entering start and end dates.
Get active modules instead of courses.