Implement functionality for adding new networks and listing existing networks.

Not yet ready for merge.