Getting the algorithm working and ready for testing. To do this I needed to implement a handler that could bring the message across from service to activity.