added some Parts of the netcode, not complete