More core refactoring.
ComparisonCommands finished for now.
Added ComparisonBuilder.
Minor fixes.