adds database manage class