Added API diagrams to tex file