Refactor of the GeneratorManager and the settings

Made generator manager a singleton

Made configuration of settings an object instead of obj literal