Adds the frag viewer xml and class