adding database manager