Global update:
- All types of endpoints have been placed in a separate folder (see next item).
- The logic of compiling and building the application has been completely rewritten. Now there are only cjs modules and types, as well as empty files are now deleted by a special script.
-Changed the names of many types and interfaces.