Created the card class