add database manager file