Refactoring

Simplified communication between participants reducing number of
threads.