added libs and xmledit tmpl