nit pickery
Further modularize the examples:

Split into setup(), task() and output()