New code to create networks via a configuration file.

Updated the examples to use this new code.
Created several example networks.