Switch code to use redis instead of memcached