Add multinetwork functionality

Now allows network domain mapping in addition to the regular site mapping.

/cc @johnjamesjacoby @joehoyle
You are `use`ing this above, why the access from global namespace?