added beginning of config file gen
merge