added rudimentary netcode
added rudimentary netcode