Added abstractions around redis cache