Finished netcode rewrite