https://how2.sh/posts/implement-observer-pattern-python/
How to Implement the Observer Pattern for Event Handling