adds the main brunt of notifications functionality to the app