updated NeuralNetworks to be built from files