refactor tx.ino some
refactor rx.ino, use struct (not yet tested or compiled =), update todo