Add documentation to webservice.go.

- Added comments.
- Added package documentation.