moved IndexedStorage into static lib