Reflect the new changes regarding factory pattern and configuration options in the docs and tests