Threads template
added cachedThreadPool
deleted output class
some classes and methods have been renamed