Updated example

New application and service api in example.