Merge pull request #1 from seetheprogress/master

fis for race condition
Fix class
Merge https://github.com/LukasReschke/ownCloud-demo