Allowed library to take a Card class at construction to use for loading