Moved network.cpp to network.h