Initial simple implementation of Kaolin prototyping model
Support for substates and regex-matching selectors