NotePowerGenerator refactoring

NotePowerGenerator is refactored and used in NoteExtractorRunner