syncLocalDictionary - now includes relations - it is completed

syncLocalDictionary  - has two passages
addRelation - complete and tested