Distribution system now seems to be mostly working. some kind of api on the work generator side is needed.