Added thread pool manager