fixed component onblur

added some example for creating new element in mainCtrl
other fixes