Updated to use State<> type throughout. Updated README.md