Card class was splitted in two other classes.