Changed clients to use web services