Start SyncManager class.

Need a better algorithm to compute the merge.