cleaned up heuristic manager. added heuristic_map