new version of storage submodule

implements the stream interface