Add callback for getting the state
Simplify API by removing participant list from input