8066780: Split CardGeneration out to its own file

Reviewed-by: kbarrett, tschatzl
6 files changed