moving the messaging sample to its own repository