Added redis support for caching