Refactor: add init method and onReadyFromCacheCb param to storage factory [WIP]
#831
+4
−23