refactored req stats in a separate file
fixed timer and thread local storage bugs