First iteration of the netcode