Adds basic storage API resumable-write support

Also fixed up some formatting and import paths