Split out a defineParam function
Got the multilevel objects done