Add in pre-processor commands so header files are only included once
Allow worker threads to use configs, calculate max requests using a randomised variance