Changing the app to use the requests module.