Removed dependency on another class for sanitizing url

Might need to add sanitizing again in future