adds request/response classes