Added FactorProducer, which basically adds factors to the model. Right now, it works, but the factor producer must be forced to wait some time before the first addition.