made Card and Deck abstract