updated component class
updated event class and deleted un needed files