Added new Messages class to the project