Python script-generated Preferences class
Introducing a Python script that generates a Preferences class (both
header and implementation) based on a JSON configuration file that
contains settings and short code fragments necessary e.g. to validate
settings to be made.