major refactor: line-by-line reading, flip-flop, parallelization
Merge branch 'refactor/rewrite'
v0.4.0

  - Refactor/Rewrite: Use flip-flop operator, major simplifications