Implement core messaging functionality