update .gitignore
Refactor the card set generation utilities.