changed networking to udp & server-client based