Implements DataWarehouseManager to handle database communication.