Draft version of new thread pool + refactored makefile