Added XML tab
Main implementation of network refactor
Further work to multiple network for instances.