Refactor code for readability and maintainability — AI Prompt | 404fault