Simple URI parsing class added

remove and throw exception on error