Better networking

Still has sync bugs but setup phase and gold collection are working.