added comments to the demo app