add storagedir parameter for on demand streaming
fix problems with version parameter
Merge pull request #3 from flyapen/master

merge changes for storagedir and version