Converted old std::exceptions to snowpack::Exception
Add ThreadController and clenaup