removed unused mutex
added some log messages
Using command line arguments as host and service now