Create Card class.