added api endpoint
added api endpoint
added polling to start dirtyNotes interval