Created Lesson Object and database relations around it