Refactor Config [WIP]

A better fix to this bug (which is already in the jm/upgrade branch) is to just add @config['provider'] = options.provider up in the generate_config.rb file.