Started on inference engine implementation.