sending patch for review with file API conversion for HEAD,
the most significant change is the scormtype filed which specifies what does the reference field mean
please review, going to commit after your approval (I might still tweak it a bit in the meantime)
Petr
I have started coding the conversion, going to post patch here and let you review it before commit, ok?