Merge pull request #8 from Postmedia/add-tag-features

added debug mode and tags
added missing header file
Merge branch 'master' into add-tag-features