code: add reference app code for starting