- Restructure code to separate out Schema and Instances, hopefully for better readability.
- Update inline comments so that annotated source is more useful and not duplication of docs.