Move redis related code to redis_support