created DBManager class