chunker: refactor initialization, flow() and add reflow()

1 job from reflow in 3 minutes and 13 seconds (queued for 1 second)
latest
Status Job ID Name Coverage
  Test
passed #115
build_image

00:03:13