Adding class Deck instead of using array to store data