Added the ThreadPoolApp file
added doc comments to ThreadPoolApp