Define classes for request-response basics