Added update make target for easy dependency updating.
Both sending and receiving messages now uses JSON format for messages.