added a way to save heuristics
indexer can load a heuristic