Refactor actor : Extract the message construction into a new source file , message.js