Moved the data member up to the Element level
Fixed some work in progress around the creation of dom elements and the timing of it. Not finished work