First commit. Thread pool class and example.