Commands refactoring: replace type class with single Command type, extract CommandInfo type.