Implemented move command.