Generated lesson and flash card models
Added fields and made/fixed tests