Added methods of access to information from the database

method to obtain list of the lessons

method to obtain the number of the tests of the lesson

method to obtain list of the tests of the lesson