Refactored logging a bit, added System service registry.  things don't work right now though....