Improved protocol, tested it. Wrote minimal working example, word count worker and few internal functions as a base to further development (some things are hard-coded).