Added a simple example of sync.
Added more code for syncing.