added lesson_scores join table and updated model relationships