adds schema diagram and xml;