added further parsing functionality to the uri class