documented and refactored network.h