Added onPress hook and support for creation of child elements by addChild
Removed r,g,b arguments