The current implementation of mem0/memory/main.py is excessively large (>2000 lines) and contains most of the extraction, update, and storage logic inside a single class/file. This design significantly reduces readability, testability, and long-term maintainability.
What's the reason behind keeping it as it? If we can all agree this is a bad engineering practice, are there any reason stopping us from refactoring it? I'm happy to help.