Fixed the sample application and also made the src ARC compliant.
Merge pull request #6 from c0rn0/feature/fix-sample-app-and-arc-support

Fixed the sample application and also made the src ARC compliant.