Add general schema
Refactor graph code
Add ws23xx documentation
Format api doc in markdown