The Class That Knew Too Much: Refactoring Spaghetti Code