put all network code into NetworkUtils