distribution setup
http errors don't cause interupt anymore. Processing and writing now done by agent

The agents allow Async writing of the file in the background - this enables
the forever mode, where the output is written every time some new data
comes in -> wooha!