Switching all config to .yaml file