add some networking bits, fix movement