moving config to directory