Added generic pooling and DB pool manager.