moved the card and deck class to their own files and fixed errors