Created an application class to handle the request/response cycle.