Modified card details layouts
Modified data item types to be derived types
Fixed bugs with item deletion
Removed surplus class