object oriented carditem and card