Adding exception handler and tests, need to work out how to inject the dependency into the static class.
Add exception handler service and wrap the core in a singleton.