added storage service which falls back to object storage if localStorage is not available