Describe a time you refactored a legacy infrastructure setup into a fully automated IaC deployment at Applied Systems.