1. Fixed errors with the sample application.

2. Updated the readme.md