introduced some promises magic
Todos for the weekend added to data.js file
data.js is rearranged and dataelements and their optionsets are downloaded. Should be ready to be rearranged.
Merged