I will finalize the approach in the next pull request for config object implementation.