skeleton of inference manager