Updated package dependencies, refactor util to queryConfig