Initial stage for notifications

Although all functionality is in place, the line status is not updated
automatically so notifications are only triggered if the user refreshes
data.