Encapsulating url parsing within a function
Encapsulating message formatting within a funcion
Adding a messageHandler functionality that handles posted links