added some incomplete netcode. committing in order to branch.