added poll.php and state.json