Defining the Application Logic

Define the application logic using REST SDK.