added all needed for ThreadPool and all dependences