Add tool + add default files

- function getConnection()
- .gitignore (+ setting config.php)
- .gitattributes
- modif of index.php