sample code changes
Improvements in the sample code
Merge pull request #32 from kamalhussain/master

Sample app improvements