Rewrite Deck and Cards as objects