Restructure database interface
The Database.py file currently lacks structure, making it difficult to maintain and read. To enhance the maintainability and readability of the code, we need to introduce some structural improvements.
-
Introduce version classes to improve maintainability and readability (reduce contextless comparison methods to version classes). -
Restructure database classes to better separate parsing logic from program logic.