[WO-267] move sync code into its own module