Have sync module return operations and add methods to convert to log strings.
For #20 Add sync error handling