Implemented class Card