Update codebase to the almost finalised architecture.

The GitRemoteResolver is almost done.