Added copyright notice, updated sToMessage