Add remotes, modify globalcache class