Moved the notifications code into the notifier route