Create Method class with events before, on and after to override objects methods