Base Class and Card Component Design