Added some netcode stuff, still unfinished