Added some more comments and made the card display a bit nicer.