Added --directories-as-tags functionality

Also a minor typo correction
Added a .gitignore
Merge pull request #11 from resuscv/dev/folders-as-tags

Dev/folders as tags