Remove useless class MoveKeyCommand and bug fix in key movements