Refactor the syncUtils module to improve code organization and maintainability by breaking it down into smaller, more focused utility functions.