Templates for reduced header
Move all ERB files into templates directory
reindent
Add Output classes to manage actually writing to files