refactoring pool manager
more refactoring pool mgr