Added message functions to DataHandler, partially tested