Lesson scheduling in the class manager