Add support for  AddNodes  and AddReferences requests

please review changes and eventually accept