Extract command-running to CommandRunner class and rename command classes to XCommand.