add support of datadir/htmldir configuration
Merge pull request #6 from acidlemon/feature/datadir

add support of datadir/htmldir configuration