import rabbit.Receiver;

public class Client {

    public static void main(String[] args) {
        Receiver receiver = new Receiver();
        receiver.startReceiving();
    }
}

@@ -4,93 +4,820 @@
 ort 
-rabbit.Receiver;%0A%0Apublic class Client %7B%0A%0A    public static void main(String%5B%5D args) %7B
+dmon.core.commons.helpers.CommandLineArgumentParser;%0Aimport dmon.core.commons.helpers.PidManipulation;%0Aimport dmon.core.commons.helpers.ProgramArguments;%0Aimport org.slf4j.Logger;%0Aimport org.slf4j.LoggerFactory;%0Aimport org.slf4j.MDC;%0Aimport rabbit.Receiver;%0A%0Apublic class Client %7B%0A    public static final Logger logger = LoggerFactory.getLogger(Client.class);%0A%0A    public static void main(String%5B%5D args) %7B%0A        MDC.put(%22pid%22, PidManipulation.getPid());%0A        logger.info(%22Scanner is started!%22);%0A%0A        new CommandLineArgumentParser(args).parse();%0A        if (ProgramArguments.getPidFile() != null) %7B%0A            PidManipulation.writeOwnPidToFile(ProgramArguments.getPidFile());%0A        %7D%0A        else %7B%0A            PidManipulation.writeOwnPidToFile(%22../var/specs_monitoring_nmap_scheduler.pid%22);%0A        %7D%0A
 %0A   
@@ -891,16 +891,38 @@
 iving();
+%0A%0A        MDC.clear();
 %0A    %7D%0A%7D

Add argument parser to Scheduler component.