Move Notifications into API

I want to remove the hermes dependency in the long run, for now it's up to discussion