Added support for the webdav address as well.
Factored out various constants in the worker into their own interface.