Create card_class and add card methods