Moved network functions to a separate file