:lipstick: refactor the code that detect multiple execution of atom application. 

add ProcessLaunchDetector class to process multiple execution of atom process. extract the code of creation of client and server into the new class ProcessLaunchDetector to make code cleaner.