added document creation to the store api
added document merging to coalesce known urls for a given document