Adapt Workers to the changed API in TCFlib.

The TCFlib API changed: Now the input_data is passed to the run() method,
not the contructor. The workers were adapted accordingly.