Created basic messaging protocol