main: use the correct command class when loading commit messages