docs: Add comprehensive JSDoc documentation to the entire codebase
This change adds JSDoc comments to all functions, classes, types, and components across the entire repository. It also updates the README.md file to include a section on the code structure and documentation, making the project more accessible to new developers.