implemented class DBManager