in-progress - restructuring the game client-server code