official server code, added server player code

world now updates state properly