The messagelib library contains an API for the handling of messages.