Sync ssot

Placeholder, needs more tests and comments. 
Double check for addUnsavedRecords test