Added redis db selection to setupRedis API method