In preparation for separate programs, the config spec is now built in main; each module defines its own group and main combines them all.