use xml parser + remove unneeded libs + code