General sender, added reset to Machine
main
basic receiver, minor edits to sender
add index id