moved note event processor and note life events into the NoteEvent object