Minor fix to core.init
Onto something here. Better encapsulation. Better separation of different application layers.
Got module registration and new events system working more or less.
Things seem functional. Need to refactor many tests.
Moved error logging stuff into core for now. Tests passing. Need to write new tests. These ones feel stale.