The main section has sections like engine or initialise (aka. init). A project is capable of only one main script file. If there are more main script files in a project's folder it will occure an errror on debug.
Other script files are containing only complete by the user named methods.
Follow this link to get started. The link goes to a simple instruction how to setup a mdscript vscode project.