Logging to debug.log
Clean up & refactoring. Client deps now reference this service