Card class tested and working

From what I have in mind I think the card class is good.