Uses ajax for creating Lessons and Classes