Varaible name change, bug fixes and anotations.
Changed name from service manager to service locator.
Bugfix for the `error.dispach` event.
Added more anotations about explaining the framework core.
Also divided some code to remove a few nested syntax issues .
Altered the copyright year