Added generic Deck class