Implemented a from-template network generator.