Separated view and logic for the move command