replace Cortex with Chinchilla (data model library)

Chinchilla's immutable structures, dictionary sugar, and fast subtree
modification checking make it powerful. It may already be ready for
petehunt/react-raf-batching (big performance boost). Example
reimplemented in Chinchilla.