Create Lesson model, and made it a list for the Part model according to the acts as list gem. Parts are now ordered according to the position attribute