added ServiceLogger
tweaked internals