Refactoring KeyHandler and MovePerformer