Merge pull request #3 from kbsali/master

refactor templates + allow file name setting + complex object input fix
add sample output + update doc
Merge remote-tracking branch 'calin/master'
fix elt_id not updated for <pre> tag