Merged basicCompare controller with generic compareController.
Updated references from 'entity' to 'deal' for consistency.
Corrected some code inconsistencies.