removed full path to java
a bit of refactoring.
Not entirely clean, but it helps to reduce code duplication, and simplifies error handling
use methods defined in zhelpers to get messages' data (better error handling)
class Worker does not have an annuary anymore
Refactored workers