Updated notifier to be a class instead of a struct with functions