Network Refactoring

Cleaned up code on network_class_json