A class for the cards