Added neccesary arguments to worker constructor.

Had forgotten top pass the actual arg and limit values for the sensor.
Fixes to handling of argument to worker.
Config reader can now generate workers

Preliminary implementation of reading of workers.