Moved Message class to file Message.js