Move net into a submodule.