Added a new function for setting up a redis Pool