added super() to constructor
prototype.addComponent
modified addComponent, render; added prepareElement