initial class for deck and card