Refactoring (running IntelliJ's Refactor Code and Optimize Imports)