rewrote gURI class
found a solution for the API - how to define the Request and URI objects