Set up work done in the message module. Not usable yet (only one
function implemented, a message record is functional).