Moves create, update and delete code into YFSyncManager