add global tag function and event cleaning sequence for data
Merge pull request #9 from monttj/master

add global tag function and event cleaning sequence for data