implemented documents.create, document.save, document.merge, document.remove methods