Threadpooling

Added a threadpool to the whole project and added an example in how to
add a task to the threadpool.