refactored asseturl, one URL class to rule them all