First draft of sync
Fixed objects file for sync