Refactor deployment config files