Addition of classes and removal of old card images