adding webservice.py (no unit tests yet)