Merge pull request #223 from coyotte508/master

Updating main repo
Usage statistics for v2.

Fix the DB initialization.
Add command line switches to define input and output dir.
Separate templates from formatted files.
Merge remote-tracking branch 'main/master'