basic client for nerd.
fix annotate-document.
add convenience method for nerd.