Updated notifier to use C++ constructs (RAII, std::string, etc)