Began to work on sending.  TODO: Abstract and clean up code