Getting rid of EventMachine.

Causes:
 - no longer maintained.
 - no IPV6 support.
 - weak information about network errors.
 - callback hell.
Worker stuff.
Worker fix.
Tools prettifying.
More work over tools.
Merged into the single file.