Made getMessage a general function to recieve messages from MyCroft.