Adds messages.js file.

Adds a constants file for message constants.