added class ImageNoteExtractor with some test code