initial webservice implementation