I Asked ChatGPT 4 To Refactor My Legacy Codebase