if base_uri is given set it else use default
set the base uri if present
Merge pull request #2 from cybrilla/set_base_uri_if_given

if base_uri is given set it else use default