This commit updates the project's documentation to be more consistent, accurate, and user-friendly.
Key changes include:
- Added a CODE_OF_CONDUCT.md file to foster a positive community.
- Updated CONTRIBUTING.md to link to the new Code of Conduct.
- Restructured and updated the `docs` directory, including:
- Replacing ASCII and other diagrams with Mermaid charts for better visualization.
- Adding a table of contents to `API.md` for improved navigation.
- Ensuring content is aligned with the latest implementation.