Get rid of `card.card`

I added some methods to the `Card` class so that users of the class do not have to access the `card` variable directly.