centralize initialization of networks from configuration in configuration