Added pool Client class and promise-based print function