Begin to rewrite netcode