Initial skeleton for handling sync