examples/sample-app-sync: Indented code and renamed log to out
examples/sample-app-sync: Added the rest of the sample to the app. Woohoo.