Added subactions method to actions
Added typed objects
Delayed adding cases to actions
Updated example program to remove 'set' action
Fixed merge conflicts