Adding request object to base framework.
Updating example code to work with new request object.