Changed Network renaming

This is needed so that I can add a prefix to the subnet nodes and
connections to keep them separate.

Also fixed what would have been an error in the insert new node
function.