Move all config generation into classes named after the things being generated.