implemented the  db functions (dbget, dbput, dbdel, dbdeltree)