added example 5b service-thread to ShopApp