- Move fact, list, and petpet commands to separate files - Extract API and message helpers to utils directory - Simplify command registration and cleanup logic - Improve maintainability and readability