First version of documentation generation