refactoring step by step

  1. refactor the code manually
  2. please follow the refactor steps
  3. follow small commit principle, commit code per refactoring
  4. record code smell found and refactoring technique used in commit message
  5. commit message should follow pattern like this: "refactor: [smell]: [technique]"

Write down every refactoring step in here