Create sync.cpp