Support for untagged networks on UI/API side

Not finished yet, but can be tested/reviewed