building an infrastructure for the cmdlets to support pipelineing
refactoring to have a base for eventTypes handling, and adding the leaves