You need to write an additional web page (in any convenient web programming language) for the Moodle SDS, which will be used by the teacher. It will consist of 6 unrelated tables in which the teacher will need to enter the data (I have an approximate view of the page, so I will skip this). In the SDS Moodle will need to make a button, pressing which would open the developed page. After the teacher has filled out all the table fields, he will need to press 2 buttons: (1) Save the data entered in the template. The template is a DOC file where the necessary data fills the desired places in the file. The file is ready and I have it. (2) Create components in Moodle. Based on the filled tables, the necessary components in the distance course Moodle will automatically be created: test, lecture, task, etc.