added basic messaging model