Updated the template to add line numbers to source files.
Small container improvements on the doc.
Moved execution chain out into it's own class for easy construction and unit testing.