Setters for config

there are too many options in Config. Instead of passing every option to the constructor, setters makes it easier to configure the generator