added __toString() to url generator class