make client_network a class