Added clean parameter option to allow override of persisted data. Clears persisted data on stack creation so uses
passed in or default values.
Reorder object defs