Added a card and deck class to help manage the cards.
Clean up the main class of the old code.