Class for Meld, Card comparator and some tests.