adding UrlEncoder class