Added nxt docs and state machine demo