added initial docstrings to webserve.py