wrote an xml file and built protocols for input. wrote a script to generate output.tex and output.pdf