created Card & Deck class