breaking down threading code to seperate files to improve code quality , trying to find what goes on when many continuous requests seem to make the server stop responding ?