modified RST.writeArticle() so that templates are filled with a title and the class name.