Refactored storage api to use units. Unique temp directories fix problem where extracting assignments was causing an exception / unpredictable behavior. Cloud Storage now caches.