Version 4

More clever repository root detection
Documentattion