Made the configuration generator, check generic so we can use it for plugin makers.