Added application's lifecycle management sample