Start refactoring gem_dependency_checker (work in progress)