Move message encoding to a dedicated function
Rename the executable
Add a means to handle chains containing shortnames as well as addresses.