Created Request and Response classes to handle web requests.