separate card methods/struct into its own class