Worked a bit on the service and added a logging interface.