add dev options to doc
light refactor
more docs
use < instead of cat