Refactoring of Code Deploy-Application-Code.ps1