Split out heuristics into their own files