In this video, I use a combination of the Strategy and Factory patterns to refactor the object creation logic out of main.