Another attempt at list handling for message format
Clean up some unused code
Refactor a bit of code
Add ability to create commands for raw code lines
Improve tests to try raw lines