Update message.h, message.cpp

Changed interface