feat: add autodetect settings feature.

comments and doc are not yet updated
split tests
feat: improve comments.
version 1.0.1