add Deck class and change Card representation