ignore .idea directory
change addData to addDataWithKeyValue
add new function addDataWithObject
message object can be initialised with another object