Added writting of config files in yaml format