adding service documentation of template-desc
renaming mediatype/resource to mediatype/document