- add getStateType()
- first version of README.md