add require statement to example
make base_uri a constant