implementing PeakFinder using the new AbstractCommand class
removed FunctionPrototype and made Function work in the same manner as GenomeFunction