parse card type
Added PonyCard, refactored