NetworkFactory revised
changed datahandling inside network factory

removed setArchitecture