Created views for displaying the cards and improved the Card class