Factor out std::thread usage into Worker superclass, add Doxygen config file.