support purely relative references without a base URI
renamed classes to better conform to standards