Reorganize docs
Add requirements.txt
Fix determine project's root path, minor refactoring

- defines a constant for .gitignore file
Resolves relative template output paths to the project's root