Add LifecycleEvents demo application