initial reactor threading
cleaned up threading
Merge pull request #11 from econchick/throughput

Added threading