Added card.c and card.h