take first argument from id cause it can be sequence
added dataroot option
test updates
Merge branch 'master' of https://wshager@github.com/wshager/xmdl