Refacto veronic to work with config object