Updated patch. Added new models for homework and user_lesson tables.