Refactor Lesson Controller