Updated notification creation

This adds the notification model and updates the usage of source -> action as well as updating the notification creation tests