put redis initialization configure block, made it into a constant