new db model for lessons: course 1-n lessons 1-n events ; rename course_type > lesson_type