Added redis caching to subject map