Messaging works!

Got messaging working, next step is to fork the messaging out to a new
process so that the RPi can continue working whilst receiving messages.