adding message reading and sending code.
Merge branch 'master' of github.com:hannep/PennApps
addming messages.