This file manages the presets: configurations of stacks number, freecells number, decks number, and the other parameters that define how a game is played. A preset is a variant of Solitaire such as Freecell, Baker's Game, Simple Simon, Good Measure, etc. Many of them are categorised in PySol under different categories than the Freecell category. Moreover, some "Freecell-like" games such as Penguin are not supported by Freecell Solver yet.
The routines in the file enable applying a preset to an instance (by its name), applying a preset to an instance by a pointer to it, etc. It is also directly used by lib.c to maintain consistency across a sequence of consecutive instances.