removed get any resource and metadata
added get all metadata operation
refactor resource in sharedresource
refactor myresource in resouce