Used attibute collection as a member variable.
Added ability to get variables.
Addes support for getting variable data.