added document management of local caches of remote services, merged remote services and sample directories.