improved menu xml parser, made xml more simple