Add multinetwork functionality

Now allows network domain mapping in addition to the regular site mapping.

/cc @johnjamesjacoby @joehoyle