add .addPeer(proc). Closes #1
add state classname