Not sure exactly your need but have you seen this for saving to disk:
and this for transferring parameters between modules without saving: