Minor API update in GLIR.
WIP: supporting various kinds of data arrays.
Minor updates.
Minor refactoring in attribute logic.
Created data.js file.
Refactored some data bits.