Comments and clean up
Rename write to send, add todo