Added basic messaging functionality