kent - rename some variables, methods and extract methods from turn and move
kent - extract some methods of Client.main