built class Card, Deck