initial commit of sync.rb