Add upload functionality to the sample.
Fix foramtting.
Merge pull request #22 from Icenium/branzov-add-upload

Add upload functionality to the sample.