create a message model object