Wrap all core API with a core object
Background / User story
With #430 (closed) we remove a lot of the singletons, and #433 will remove more of the single object dependency.
But ideally the core should maintain itself in a self contained state context.
I propose that the core be created in an object of type Core
that would maintain all its state, include the storage, the engine, the synchronizer.
What to change
- Development:
TBD: determine if this comes before or after #433.
- Documentation:
TBD
Hints for testing
TBD