Updated .gitignore file.
Smaller fixes and complete and fixed documentation.