rename createComp into createComponent
simplify component creation