Rename 'brain' to manager
Delete dead code
Abstract out saving code to a module
Remove trailing whitespace
Saving and loading happens in the manager
Remove global event queue

Instead move it to a dependency that gets sent to classes that need it. The manager is now responsible for managing the event queue