Implemented some methods of the DBManager class