adding messages model
created messages