Added destroyNetwork method and fixed inheritance of the Network model instances.