AddEvent  and __init__
Add loop and killEvent