i know if did this but it is just silly
refacoting route system to avoid globals and setting up request logging