Added state chart doc