Creates a mapping function with a cache. This is the main entry point for this object.
Retrieve items from cache or from mapping function.