Move request and response to other files