network: restructured; does not compile yet

depends on storage