add notification worker
refactor and add specs
Merge pull request #858 from adrianob/notification_worker

Notification worker