Added a Message class, fixed the transmission headers format string and removed the test code.