update client to use uuid and define struct for Url