extractor.cpp refactored a bit

I've split extractor.cpp code to methods and organized them in class.
tbb and boost are both libraries, i.e. it should read

```C++
#include <boost/program_options.hpp>

#include <tbb/task_scheduler_init.h>
```