Created Card class into model