made connectors for extended events, refactored the code a little bit