[api] notifications for new comments now being sent out to hermes
[api] improve comment notification code structure