Tutorial: collapses setup of sample app into a single block