refactored TTLesson to match TTEntity struct