Revert "URLgen class"

This reverts commit 1e9102952c74b6410eba421359fe6a22fcc3fd15.
URLgen class