modular architecture for heuristic workflow