add doc site
add dev guide to readme
improve docs for State
add test for  and  for hierarchical states