refactor in the vcs, added scheme detection like in go get