C++ standalone: added magic network support and started work on multiple
network and network.run