Started moving documentation generation into a separate library