adding an event parent class
adding reload event
calling reload event when required
removing new classes
adding old classes