Refactoring Cache
First steps in caching/fetching subranges.