Cleanup of notification infrastructure

This moves the notification mechanism into the BSNotify module.