Simple gem to tell the type of card and if the card is valid.