Added card loading and display logic.