updated event class and deleted un needed files