web service restructuring