database managment class added