Library with classes representing the mediawiki datamodel