build lesson models