Redo everything: worker implementation started. Tests added