cleanup and small fixes
Do not use plugin but used  linked  library in high level RemoteClient object
raise correct excpetion when not connected, cleanup
remove unnecesary method
add empty interface for AddNodes and AddReferences