adding redis
swapping in redis implementation