Class refactoring and executing the events when they are created from the screenshot interface