Added code for message passing.
Merge branch 'master' of https://github.com/AshleighC/purplerain