Improve delay
Read config from YML
Set headers before sending response back to the client