Update documentation
Move helpers and refinements to separate modules