Impelemented Note and NoteWindow classes.