Exclude IDEA files from git
Fix recursive output tree structure + add some unit tests
Merge pull request #6 from sebprunier/refactoring

Unit tests + bug fix