Refactor the single component with 1000 lines of code that was the project into a proper component architecture