Applications as Inference Engine