added clas for card organization, and data placement