Add basic functionality to Card class