implemented Event as TempObj and base.py