Hi,
I would now like to create the pymc code
I think you may need to elaborate what you mean by this.
Do you mean you would like to re-implement the pymc model used by the MMM class from scratch? If so, then maybe start with a look at its build_model method, whitin which the model is defined.
Regards
Jonas