Card: populate lessons in the database - complete database access API: fetch operations, exercises and lessons