Starting lib
res parameter is required
statusCode is requied
Returns a function
body is required in the response function
cookie parameter is required in the response function