Lab5, task 1 (part 1): Implementation of database support