Vlan model (WIP)

This is most of what it's going to look like; there are a few kinks to work out (in particular, deletion of networks is broken I'm sure).