refactor
improvements, docs and refactor
improvements
config