Edit message.php

written message class