Added the base of the logging service as well as some tests.