Code to create the backend for the notifications subsystem