- Add thread class that builds on top of the std::thread class by not
  specifying the thread func in the contructor but in a member.

  This allows the thread func to have access to the thread variable.