Adds class to handle manipulation of front and back of the card.