Model to service

Completed initial refactoring of the Lesson and ClientConnect models into service classes.