Factor out the notify stuff into separate module
Merge pull request #1 from afrantisak/factor_out_notify

Factor out the notify stuff into separate module