Model classes for rendering wikipedia texts to HTML, LaTeX