Refactored WebDav Configuration to rely on either an environment variable or .webdavconf.json file