improved inheritance model
renamed some variables
added convenience getters for composite state machines
simplified API, dropped legacy support