add pattern-finder, hook in config module