Added PiCache, a utility class for accessing PiTypes stored in cache