implemented Lesson Payment database class.