Removed unused code.
Added validatePlan().
Changed giant if/elseif statement in recursivePlanParser to switch.
Changed named element collections from Lists to Maps in Plan.