Refactoring of templating, part 2
Refactoring of templating, part 3: added plain-text template
Added `plain-text` template output, alongside the `full`, #276