Finished demo app for chapter 2