new changes in server side and in message implementation

I made a new constructors for the Message implementation so that we can
wrap type KVMessage into type Message and still working on server side