Add binaries to .gitignore
Refactoring and documentation