The App class is used to create the application instance. The instance itself exposes a connect function used to connect views to the state of the application and allow them to trigger actions. Following is a simple example to show you the structure.
<Example name="api/app_initialize" view />