Adding Card class.