Added class and test for messenger service.