I would start by understanding what a standalone is and why it's a weird question for us to answer then move to scripting and saving. You'll learn quite a bit in that process.
Someone can correct me if I'm wrong, but that's my best shot at it.
I didn't think there was an easy way to this. I think your right about studying what a standalone is first exactly, and then possibility developing a max object for saving the state of a "standalone" which includes saving newly created objects.
I'm very familiar with the coll object and preset objects. Pattr seems to only store the states of objects that are already created. So while I would need these, they don't offer a solution to saving newly created objects.
I wonder if Cycling 74 prohibits this function due to copyright laws? If anyone knows the answer to that please let me know.