First working version for notification registration

Next - delivery of notifications, starting with a pull store.