Just committing my changes so far.
Added a bit more program logic.  Still  need to finish put the retrieve method.
For whatever reason some lines didn't get committed...
Working receive.
Update.
Removed debugging.