-Added few new functions
-Fixed a bug in addChild