Begin to add network stuff. Doesnt work at all atm.