update documentation
export and document add_namespaces function
add_namespaces now as separate file/doc
writing writing