Lergo 24-26

Implementing auto save functionality and sperating LessonIndexCtrl from