Updated DBMS.cpp - dmitry functions working