remove deprecated constants
update copyright date
Refactors URI to be exception and regex free