Initialize sample app.