adds database management class