finished generator and added configurator