runtime: add support for internal package

Also fix deps install using `go get` and import gorilla.