Finished Card class (needs testing with CardPanel).