Handling lifecycle eventsLearn how to create a class that handles events from the application lifecycle in plugins