Added cache grouping
Added cache key grouping, clearing, and index functions