implementing PeakFinder using the new AbstractCommand class