separate config from resources