Added .gitignore.
Improved path handling.