Added documentation and .gitignore.