Added documentation and updated .gitignore