Refactored Sales Orderd Sync. Placed GCore calls to gcore-ruby